package com.es.service.impl;

import com.es.dao.CCBAccountDao;
import com.es.entity.CCBAccount;
import com.es.service.CCBAccountService;

import java.util.List;

public class CCBAccountServiceImpl implements CCBAccountService {

    private CCBAccountDao dao;
    @Override
    public List<CCBAccount> list() {
        return dao.list();
    }

    @Override
    public int save(CCBAccount ccbAccount) {
        return dao.save(ccbAccount);
    }

    public CCBAccountDao getDao() {
        return dao;
    }

    public void setDao(CCBAccountDao dao) {
        this.dao = dao;
    }
}
